import request from '@/utils/request'

// 查询网格商户列表
export function listGridSh(query) {
  return request({
    url: '/buss/gridSh/list',
    method: 'get',
    params: query
  })
}

// 查询网格商户详细
export function getGridSh(id) {
  return request({
    url: '/buss/gridSh/' + id,
    method: 'get'
  })
}

// 新增网格商户
export function addGridSh(data) {
  return request({
    url: '/buss/gridSh',
    method: 'post',
    data: data
  })
}

// 修改网格商户
export function updateGridSh(data) {
  return request({
    url: '/buss/gridSh',
    method: 'put',
    data: data
  })
}

// 删除网格商户
export function delGridSh(id) {
  return request({
    url: '/buss/gridSh/' + id,
    method: 'delete'
  })
}
